<?php
class item_action_fieldconfig 
{
   public $configuration;
   function __construct(){
     $this->configuration = array(
  'general'=>array(
    'tableName' => 'item_action_field',
    'isView' => False,
    'isReadOnly' => False,
    'canBeDeleted' => True,
    'hasStatus' => False,
    'hasAttach' => False,
    'description' => '',
    'orderFields' => '',
    'labelSingular' => 'Champ',
    'labelPlural' => 'Champs',
    'descriptor' => 'fieldname',
    'timeStampable' => False,
    'formExtraTemplate' => '',
    'showExtraTemplate' => '',
    'indexExtraTemplate' => '',
    'filesPathName' => '',
  ),
  'attributes'=>array(
    'id' => array( 
      'type' => 'integer',
      'size' => '',
      'label' => 'id',
      'help' => '',
      'list' => False,
      'show' => False,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'id',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'owner' => array( 
      'type' => 'BO',
      'size' => '',
      'label' => 'Action',
      'help' => '',
      'list' => False,
      'show' => False,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To One',
      'relatedClass' => 'action',
      'alias' => 'owner',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'fieldname' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Champ',
      'help' => 'Nom du champ &agrave; modifier',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => True,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'fieldname',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'detail' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Est un champ du d&eacute;tail du formulaire',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'detail',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'caption' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Libell&eacute;',
      'help' => 'Si vide, c\'est le libell&eacute; originale',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'caption',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'helptext' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Texte d\'aide',
      'help' => 'Si vide, c\'est le libell&eacute; originale',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'helptext',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'notnull' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Obligatoire',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'notnull',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'readonly' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Seul lecture',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'readonly',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'xdefault' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Valeur par default',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'xdefault',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'onlyblank' => array( 
      'type' => 'boolean',
      'size' => '',
      'label' => 'Seulement vide',
      'help' => 'Afficher le champ seulement si le champ est vide avant l\'ex&eacute;cution de l\'action',
      'list' => True,
      'show' => True,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'onlyblank',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'filter' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Filtre',
      'help' => 'Filtre &agrave; ajouter (seulement pour les champs qui r&eacute;ferent &agrave; une table de la base de donn&eacute;es)',
      'list' => False,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'filter',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'categorie' => array( 
      'type' => 'BO',
      'size' => '',
      'label' => 'Categorie',
      'help' => '',
      'list' => True,
      'show' => True,
      'search' => True,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Principal',
      'step' => '',
      'totalfunction' => '',
      'relationType' => 'One To One',
      'relatedClass' => 'formulairedef',
      'alias' => 'categorie',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'htmlattributes' => array( 
      'type' => 'blob',
      'size' => '',
      'label' => 'Attributes html',
      'help' => 'Une liste d\'attributs html et valeurs, separ&eacute;s par ;. Ex',
      'list' => False,
      'show' => True,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Parametres Avanc&eacute;es',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'htmlattributes',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'onchangefunction' => array( 
      'type' => 'string',
      'size' => '',
      'label' => 'Function js',
      'help' => 'Function Javascript a executer quand le champ est modifi&eacute;',
      'list' => False,
      'show' => True,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Parametres Avanc&eacute;es',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'onchangefunction',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
    'script' => array( 
      'type' => 'blob',
      'size' => '',
      'label' => 'Script',
      'help' => 'Script PHP. S\'execute suite a la creation du widget',
      'list' => False,
      'show' => True,
      'search' => False,
      'notnull' => False,
      'readOnly' => False,
      'isID' => False,
      'default' => '',
      'description' => '',
      'ajaxFunction' => '',
      'pattern' => '',
      'errorMessage' => '',
      'enumValues' => '',
      'section' => 'Parametres Avanc&eacute;es',
      'step' => '',
      'totalfunction' => '',
      'relationType' => '',
      'relatedClass' => '',
      'alias' => 'script',
      'fileName' => '',
      'fileNameAttribute' => '',
      'fisicalFileNamePattern' => '',
  ),
  ),
  'attributesWithTotal'=>array(
  ),
  );
 }
 }
